package com.jing.shop.domain.po;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigInteger;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductSkuStockPO {

    @ApiModelProperty("主键id")
    private BigInteger id;

    @ApiModelProperty("商品id")
    private BigInteger productId;

    @ApiModelProperty("sku编码")
    private String skuCode;

    @ApiModelProperty("价格")
    private BigInteger price;

    @ApiModelProperty("库存")
    private BigInteger stock;

    @ApiModelProperty("预警库存")
    private BigInteger lowStock;

    @ApiModelProperty("规格属性1")
    private String sp1;

    @ApiModelProperty("规格属性2")
    private String sp2;

    @ApiModelProperty("规格属性3")
    private String sp3;

    @ApiModelProperty("展示图片")
    private String pic;

    @ApiModelProperty("销量")
    private BigInteger sale;

    @ApiModelProperty("单品促销价格")
    private BigInteger promotionPrice;

    @ApiModelProperty("锁定库存")
    private BigInteger lockStock;

}
